import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import ElementUI from 'element-ui'
import router from "@/router/router";
import global from "@/global/global";
import 'element-ui/lib/theme-chalk/index.css';
import axios from "axios";
import * as echarts from "echarts";
Vue.prototype.$echarts = echarts
Vue.prototype.$axios=axios
Vue.prototype.global=global
Vue.config.productionTip = false
Vue.use(VueRouter)
Vue.use(ElementUI)
new Vue({
  axios,
  render: h => h(App),
  router: router,
  beforeCreate() {
    Vue.prototype.$bus=this
  }
}).$mount('#app')
